import { rest } from 'msw';

type T = Parameters<typeof rest['all']>[1];

export function defineResponseResolver(resolver: T) {
  return resolver;
}
